
//Dashboard Directive
dmdPMApp.directive('dashboard', function () {
        return {
            restrict:"E",
            scope:{
                tablist:'=',
                ondelete:'&'
            },
            templateUrl:"static/partials/dashboard/dashboard-directive.html",
            link:function () {

            },
            controller:function ($scope, $attrs) {
                $scope.deleteTab = function (id) {
                	$scope.ondelete({id:id});
                };
            }
        };
    });

